package com.bs.manager05.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.bs.manager05.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户角色关联表
 * </p>
 *
 * @author yao
 * @since 2022-12-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Userrole对象", description="用户角色关联表")
public class Userrole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    private String userid;

    @ApiModelProperty(value = "角色编号")
    private String roleid;

    @ApiModelProperty(value = "用户角色id")
    @TableId(value = "userroleid", type = IdType.ASSIGN_ID)
    private String userroleid;


}
